home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / util / arc / Repack.lha / Repack.doc next >
Text File  |  1995-05-03  |  4KB  |  87 lines

  1.  
  2.      *** Repack 1.0 by Mat Bettinson of the Plot Hatching Factory '95  ***
  3.      *** Repack 1.2 and above by Andrea Vallinotto of Nowhere software ***
  4.  
  5. *_*_*_*_*_* READ THE COPYRIGHT NOTICE AT THE END OF THIS DOCUMENT ! *_*_*_*_*_*
  6.  
  7. What is Repack?
  8.  
  9. Repack is quite simple. All it does is to extract every LHA file in the
  10. specified dir and repack with JFs LZX which is substantially better. It then
  11. deletes the original LHA archive when the LZX archiving is finished.
  12.  
  13. PLEASE NOTE THAT IF YOU MUST HAVE INSTALLED REXXREQTOOLS.LIBRARY AND 
  14. REQTOOLS.LIBRARY IN LIBS: IN ORDER TO USE THIS SCRIPT !!!
  15. Both of these libs are *NOT* included, so you need to get them from Aminet or a
  16. similar PD software distributor.
  17.  
  18. Usage:
  19.  
  20. [rx] Repack [Dir] [Temp dir] [(efficency)1|2|3] [(bbsmode)on|off]
  21.  
  22. Example:
  23.  
  24. rx Repack dh0:temp/a dh0:temp/b 3 ON 
  25.  
  26. will repack each file in directory dh0:temp/a using dh0:temp/b as the temp dir.
  27. The efficiency will be maximum and the BBS mode on.
  28.  
  29. Simple eh? That's assuming that you have slung Repack.rexx in REXX: and have
  30. LHA and LZX in your search path of course.
  31.  
  32. If you don't provide any of the above parameters, a Reqtools requester will
  33. appear for each, enabling you to make your choice. Even simpler, eh ?
  34. So you no longer need to edit the rexx script and change the temp dir or the
  35. efficiency.
  36.  
  37. I've also implemented a "BBS mode" (the last switch); when ON Repack will
  38. set the date, time and comment of the new .LZX archive as the old .LHA. This
  39. could be useful for some bbs (like C-Net and DLG) that will get otherwise
  40. confused by the comment and date changes.
  41.  
  42. This script also provides an "economy counter": sometimes, when archives have
  43. few small files, it could happen that LHA archives are smaller than LZX ones.
  44. In this case, Repack will leave the original LHA archive intact, and scrap the
  45. longer LZX's.
  46.  
  47. Note: in BBS mode there's a potential bug, caused by the syntax of the Filenote
  48. command: if some moron included in a file comment one or more quotes ( " ),
  49. Filenote will get confused, resulting in an incomplete comment. This problem
  50. could be addressed a future release of Repack, if it is really necessary.
  51.  
  52. Please remember that the temp dir should have PLENTY of space in it and be 
  53. completely empty because the script will delete anything in the dir in order
  54. to function. 
  55.  
  56. It's generally a good idea to have the temp drawer on another drive other
  57. than the partion that you are repacking on. Why? Because it will lower disk
  58. thrashing and because for a reasonable drawer full of LHA archives, Repack
  59. can take quite some time indeed depending on the speed of your machine...
  60.  
  61. Note that you can speed it up some by using a low mode setting (fast or
  62. default); even on 1 (fast), it will still be better than LHA and considerably
  63. faster.
  64.  
  65. If you have plenty of memory and are going to convert many files, I suggest you
  66. make resident LHA and LZX; this way, disk access will be reduced to minimum, and
  67. you'll gain a reasonable amount of speed.
  68.              _ ___
  69. V1.0 by /\/\(-) |  Fido: 2:254/205.0 & E-Mail: mat@darkside.demon.co.uk 
  70.  
  71. V1.22 by Andrea Vallinotto : Fido 2:334/21.13  AmigaNet 39:101/402.13
  72.  
  73. Rexxreqtools.library, Copyright  © Rafael D'Halleweyn, All Rights Reserved
  74.  
  75. COPYRIGHT NOTICE:
  76. Version 1.0 of this program was a freeware production by Mat Bettinson (well,
  77. there were no copyright notices at all, but I assume it was freeware).
  78. Since the current version is an hack over Mat's code, I release it as completely
  79. FREEWARE.
  80. However, ANY commercial distribution of this package without the prior written
  81. consent of the author (Andrea Vallinotto) is expressly PROHIBITED.
  82.  
  83. Fell free to contact me for any suggestions, ideas, etc. at the address above.
  84.  
  85. Due to copyright problems, Rexxreqtools.library is not included in the package.
  86. Get it from Aminet or Fish Disks; it's also included in Reqtools distributions.
  87.